<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title></title>
		<link rel="stylesheet" href="../layui/css/layui.css">
		<link rel="stylesheet" type="text/css" href="../css/base.css">

	</head>

	<body scroll="no">
		<div id="scrollDiv" style="OVERFLOW:auto;height:508px">
			<div class="main search-business">
				<div class="cue-info">
					<h3>
						所有部门 - 员工
					</h3>
				</div>

				<div class="table-list" style="width:97%; padding:15px 0 15px 10px; float:left;">
					<h4>在职人数：20 　　离职人数：7</h4>
					<table width="100%">
						<tbody>
							<tr>
								<th width="15%">部门</th>
								<th width="15%">姓名</th>
								<th width="13%">职位</th>
								<th width="15%">上级</th>
								<th width="16%">入职日期</th>
								<th width="10%">状态</th>
								<th width="16%">操作</th>
							</tr>

							<tr class="query_list_data_trSelected" index="1" style="cursor:pointer;" onmouseout="javascript:mouseout(this)" ondblclick="javascript:DoubleClick(this)" onmouseover="javascript:mouseover(this)" onclick="javascript:ClickCheck(this)">
								<td>
									<input onclick="javascript:ClickCheck(this);" name="query_checkbox" value="61" style="display:none" checked="checked" type="radio"> 财务部
								</td>
								<td>何盼盼</td>
								<td></td>
								<td></td>
								<td>2017-07-03</td>
								<td>
									在职
								</td>
								<td>
									<a href="javascript:doEdit('61');">编辑</a>
									<a href="javascript:doPause('61');">停用</a>
									<a href="javascript:doDelete('61');">删除</a>
								</td>
							</tr>

							<tr class="query_list_data_tr2" index="2" style="cursor:pointer;" onmouseout="javascript:mouseout(this)" ondblclick="javascript:DoubleClick(this)" onmouseover="javascript:mouseover(this)" onclick="javascript:ClickCheck(this)">
								<td>
									<input onclick="javascript:ClickCheck(this);" name="query_checkbox" value="55" style="display:none" type="radio"> 财务部
								</td>
								<td>郭登云</td>
								<td>会计</td>
								<td></td>
								<td>2017-06-15</td>
								<td>
									在职
								</td>
								<td>
									<a href="javascript:doEdit('55');">编辑</a>
									<a href="javascript:doPause('55');">停用</a>
									<a href="javascript:doDelete('55');">删除</a>
								</td>
							</tr>

						</tbody>
					</table>
				</div>
			</div>
		</div>
		<script src="../layui/layui.all.js"></script>
		<script>
//			function doEdit(id) {
//				var url = "../base/StafferEdit.html?id=" + id;
//				parent.ShowIframe("员工", url, 900, 475, "refreshStaWin()", 900, 640); //refreshStaWin是父窗口的
//			}
			function doEdit(id) {
				var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
				alert(index);
//				window.top.layer.close(index);
//				var url = "../base/StafferEdit.html?id=" + id;
//				var json = {
//					type: 2,
//					title: false,
//					content: '',
//					area: ['1200px', '700px'],
//					shadeClose: true,
//					closeBtn: 0, //关闭按钮
//					resize: false, //是否允许拉伸
//					scrollbar: false, //是否允许浏览器出现滚动条
//					moveOut: true
//				};
//				json['content'] = url;
////				layer.open(json);
//				top.layer.open(json);
			}
				
		</script>
	</body>

</html>